CVE-2024-52515
Nextcloud Server has incomplete sanitization of SVG files allows to embed other images into previews
Description
Nextcloud Server is a self hosted personal cloud system. After an admin enables the default-disabled SVG preview provider, a malicious user could upload a manipulated SVG file referencing paths. If the file would exist the preview of the SVG would preview the other file instead. It is recommended that the Nextcloud Server is upgraded to 27.1.10, 28.0.6 or 29.0.1 and Nextcloud Enterprise Server is upgraded to 24.0.12.15, 25.0.13.10, 26.0.13.4, 27.1.10, 28.0.6 or 29.0.1.
INFO
Published Date :
Nov. 15, 2024, 5:15 p.m.
Last Modified :
Oct. 1, 2025, 6:34 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] |
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-52515.
| URL | Resource |
|---|---|
| https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5m5g-hw8c-2236 | Vendor Advisory |
| https://github.com/nextcloud/server/commit/7e1c30f82a63fbea8c269e0eec38291377f32604 | Patch |
| https://github.com/nextcloud/server/pull/45340 | Issue Tracking |
| https://hackerone.com/reports/2484499 | Issue Tracking |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-52515 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-52515
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-52515 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-52515 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Oct. 01, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Added CPE Configuration OR *cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:* versions from (including) 27.0.0 up to (excluding) 27.1.10 *cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:* versions from (including) 28.0.0 up to (excluding) 28.0.6 *cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:* versions from (including) 27.0.0 up to (excluding) 27.1.10 *cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:* versions from (including) 28.0.0 up to (excluding) 28.0.6 *cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:* versions from (including) 29.0.0 up to (excluding) 29.0.1 *cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:* versions from (including) 24.0.0 up to (excluding) 24.0.12.15 *cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:* versions from (including) 29.0.0 up to (excluding) 29.0.1 *cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:* versions from (including) 25.0.0 up to (excluding) 25.0.13.10 *cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:* versions from (including) 26.0.0 up to (excluding) 26.0.13.4 Added Reference Type GitHub, Inc.: https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5m5g-hw8c-2236 Types: Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/nextcloud/server/pull/45340 Types: Issue Tracking Added Reference Type GitHub, Inc.: https://github.com/nextcloud/server/commit/7e1c30f82a63fbea8c269e0eec38291377f32604 Types: Patch Added Reference Type GitHub, Inc.: https://hackerone.com/reports/2484499 Types: Issue Tracking -
CVE Received by [email protected]
Nov. 15, 2024
Action Type Old Value New Value Added Description Nextcloud Server is a self hosted personal cloud system. After an admin enables the default-disabled SVG preview provider, a malicious user could upload a manipulated SVG file referencing paths. If the file would exist the preview of the SVG would preview the other file instead. It is recommended that the Nextcloud Server is upgraded to 27.1.10, 28.0.6 or 29.0.1 and Nextcloud Enterprise Server is upgraded to 24.0.12.15, 25.0.13.10, 26.0.13.4, 27.1.10, 28.0.6 or 29.0.1. Added Reference GitHub, Inc. https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5m5g-hw8c-2236 [No types assigned] Added Reference GitHub, Inc. https://github.com/nextcloud/server/pull/45340 [No types assigned] Added Reference GitHub, Inc. https://github.com/nextcloud/server/commit/7e1c30f82a63fbea8c269e0eec38291377f32604 [No types assigned] Added Reference GitHub, Inc. https://hackerone.com/reports/2484499 [No types assigned] Added CWE GitHub, Inc. CWE-706 Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N